package com.loooooo.pm2024.data;

import java.io.Serializable;

public class Bundle<T, K> implements Serializable {

    private T element;
    private K tag;

    public Bundle() {
    }


    public Bundle(T el, K tag) {
        this.element = el;
        this.tag = tag;
    }


    public T getElement() {
        return element;
    }

    public Bundle<T, K> setElement(T element) {
        this.element = element;
        return this;
    }

    public K getTag() {
        return tag;
    }

    public Bundle<T, K> setTag(K tag) {
        this.tag = tag;
        return this;
    }
}
